package com.swpu.service_archive.service;

import com.swpu.service_archive.entity.CheckupRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-03-20
 */
public interface CheckupRecordService extends IService<CheckupRecord> {

    void saveUserCheckupData(String openid, CheckupRecord checkupRecord);

    void updateUserCheckupData(CheckupRecord checkupRecord);

    CheckupRecord getCheckupDataById(String id);

    List<CheckupRecord> getUserCheckupList(String openid);

    int getCheckupRecordCount(String openid);

    void deleteCheckupById(String id);
}
